package com.xwnet.org.service.impl;


import com.xwnet.basic.service.impl.BasicServiceImpl;
import com.xwnet.org.domain.Employee;
import com.xwnet.org.mapper.DepartmentMapper;
import com.xwnet.org.mapper.EmployeeMapper;
import com.xwnet.org.service.IDepartmentService;
import com.xwnet.org.service.IEmployeeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class EmployeeServiceImpl extends BasicServiceImpl<Employee> implements IEmployeeService{
    @Autowired
    private DepartmentMapper departmentMapper;
    @Override
    public String getPath(Long pathId) {
        return departmentMapper.loadById(pathId).getPath();
    }
}
